package com.yenlien.traceyun.plant.bean;

/**
 * @Date 2022/9/30
 * @Author jiaLong
 * @Descript 操作大华设备的参数
 */
public class DaHuaOperDTO {

    private String serial;        // 设备序列号 必填

    private String operationType;   // 类型  zoomFocus (变焦)   controlMovePTZ (转向)  必填

    private String type;   // operationType=zoomFocus 时传递该参数  操作类型 "large":"增量放大"，"small":"增量缩小"，"cover":"全量覆盖"

    private String zoomFocus;   // operationType=zoomFocus 时传递该参数   [0.0 - 1.0]    变倍倍数，设备侧会归一化处理，即放大缩小均不会超过0和1

    private String operation;   //  operationType=controlMovePTZ时传递该参数   操作行为  0-上，1-下，2-左，3-右，4-左上，5-左下，6-右上，7-右下，8-放大，9-缩小，10-停止

    private String duration;   //  operationType=controlMovePTZ时传递该参数   移动持续时间，单位毫秒


    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getZoomFocus() {
        return zoomFocus;
    }

    public void setZoomFocus(String zoomFocus) {
        this.zoomFocus = zoomFocus;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}
